package com.wtwd.campus.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @author mjy
 * @date 2023/02/03
 * @description
 */
@ApiModel(value = "批量锁卡dto")
public class BathLockCardByOrgCodeDto {

    /**
     * 锁定客户所有设备
     */
    public static Integer LOCAK_ALL_DEVICE=1;

    /**
     * 解锁客户所有设备
     */
    public static Integer UN_LOCK_ALL_DEVICE=2;


    @ApiModelProperty(value = "锁住客户所有设备1,解锁客户所有设备2")
    private Integer all;

    @ApiModelProperty(value = "已经锁定设备id集合,如果此集合为空,则默认解锁该组织所有设备")
    private List<Integer> deviceIds;

    @ApiModelProperty(value = "组织code")
    private String orgCode;

    public Integer getAll() {
        return all;
    }

    public void setAll(Integer all) {
        this.all = all;
    }

    public List<Integer> getDeviceIds() {
        return deviceIds;
    }

    public void setDeviceIds(List<Integer> deviceIds) {
        this.deviceIds = deviceIds;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    @Override
    public String toString() {
        return "BathLockCardByOrgCodeDto{" +
                "all=" + all +
                ", deviceIds=" + deviceIds +
                ", orgCode='" + orgCode + '\'' +
                '}';
    }
}
